package org.com.yz.dubbo.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import org.com.yz.dal.dao.mapper.HisAccntOnway2Mapper;
import org.com.yz.dal.dao.model.HisAccntOnway2;
import org.com.yz.dubbo.api.service.IHisAccntOnway2Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * @ClassName HisAccntOnwayServiceImpl
 * @Author wzc
 * @Date 2018/7/31 20:02
 **/

@Service(version = "1.0.0")
public class HisAccntOnway2ServiceImpl implements IHisAccntOnway2Service {

    @Autowired
    private HisAccntOnway2Mapper hisAccntOnway2Mapper;


    @Override
    public List<HisAccntOnway2> selectHisAccntOnway2(HisAccntOnway2 hisAccntOnway2) {
        return hisAccntOnway2Mapper.selectHisAccntOnway2(hisAccntOnway2);
    }


    @Override
    public void updateOnway2(HisAccntOnway2 hisAccntOnway2) {
        hisAccntOnway2Mapper.updateOnway2(hisAccntOnway2);
    }
}
